package com.hckj.jianzhijia.model;

import com.avos.avoscloud.AVFile;
import com.avos.avoscloud.AVObject;

/**
 * Created by 赵奇隆 on 2015-11-09.
 */
public class VersionUpdate {

    private AVObject avObject;
    private String versionDescribe;
    private int clientType;
    private String versionName;
    private int versionCode;
    private AVFile APK;

    public VersionUpdate(AVObject avObject) {
        this.avObject = avObject;
        this.versionDescribe = avObject.getString("versionDescribe");
        this.clientType = avObject.getInt("clientType");
        this.versionName = avObject.getString("versionName");
        this.APK = avObject.getAVFile("APK");
        this.versionCode = avObject.getInt("versionCode");
    }


    public AVFile getAPK() {
        return APK;
    }

    public void setAPK(AVFile APK) {
        this.APK = APK;
    }

    public int getClientType() {
        return clientType;
    }

    public void setClientType(int clientType) {
        this.clientType = clientType;
    }

    public String getVersionDescribe() {
        return versionDescribe;
    }

    public void setVersionDescribe(String versionDescribe) {
        this.versionDescribe = versionDescribe;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public AVObject getAvObject() {
        return avObject;
    }

    public void setAvObject(AVObject avObject) {
        this.avObject = avObject;
    }
}
